package com.edu.hre.struts.form.admin;

import java.util.ArrayList;
import java.util.List;

import org.apache.struts.action.ActionForm;
import org.apache.struts.util.LabelValueBean;

import com.edu.hre.db.pojo.HreDistrict;
import com.edu.hre.db.pojo.HreProvince;

public class OrgGenInfoForm extends ActionForm {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4022413612705443937L;
	private String id = "";
	private String name = "";
	private String taxId = "";
	private String numOfEmp = "";
	private String registrationNumber = "";
	private String phone = "";
	private String fax = "";
	private String email = "";
	private String province = "";
	private String district = "";
	private String street = "";
	private String note = ""; 
	private String message = "";
	private boolean canUpdate = false;
	
    private List<LabelValueBean> allProvinces = new ArrayList<LabelValueBean>();
    private List<LabelValueBean> allDistricts = new ArrayList<LabelValueBean>();
		
	public OrgGenInfoForm() {
	}

	public OrgGenInfoForm(String name) {
		this.name = name;
	}

	

	public OrgGenInfoForm(String id, String name, String taxId,
			String numOfEmp, String registrationNumber, String phone,
			String fax, String email, String province,
			String district, String street, String note, String message,
			boolean canUpdate) {
		super();
		this.id = id;
		this.name = name;
		this.taxId = taxId;
		this.numOfEmp = numOfEmp;
		this.registrationNumber = registrationNumber;
		this.phone = phone;
		this.fax = fax;
		this.email = email;
		this.province = province;
		this.district = district;
		this.street = street;
		this.note = note;
		this.message = message;
		this.canUpdate = canUpdate;
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTaxId() {
		return this.taxId;
	}

	public void setTaxId(String taxId) {
		this.taxId = taxId;
	}

	public String getRegistrationNumber() {
		return this.registrationNumber;
	}

	public void setRegistrationNumber(String registrationNumber) {
		this.registrationNumber = registrationNumber;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getFax() {
		return this.fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getProvince() {
		return this.province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getDistrict() {
		return district;
	}

	public void setDistrict(String district) {
		this.district = district;
	}

	public String getStreet() {
		return street;
	}

	public void setStreet(String street) {
		this.street = street;
	}

	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public String getNumOfEmp() {
		return numOfEmp;
	}

	public void setNumOfEmp(String numOfEmp) {
		this.numOfEmp = numOfEmp;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public boolean isCanUpdate() {
		return canUpdate;
	}

	public void setCanUpdate(boolean canUpdate) {
		this.canUpdate = canUpdate;
	}

	public List<LabelValueBean> getAllProvinces() {
		return allProvinces;
	}

	public void setAllProvinces(List<LabelValueBean> allProvinces) {
		this.allProvinces = allProvinces;
	}

	public List<LabelValueBean> getAllDistricts() {
		return allDistricts;
	}

	public void setAllDistricts(List<LabelValueBean> allDistricts) {
		this.allDistricts = allDistricts;
	}	
}
